package com.phiture.erp.produce.core.pojo.vo;

import com.phiture.erp.produce.dal.entity.ErpProduceInItemsDO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 生产入库-包含成品，半成品新增/修改 Request VO")
@Data
public class ErpProduceInSaveReqVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "25811")
    private Long id;

    @Schema(description = "生产入库单号")
    private String produceInNo;

    @Schema(description = "类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "类型不能为空")
    private Integer type;

    @Schema(description = "状态 ", example = "1")
    private Integer status;

    @Schema(description = "业务日期", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "业务日期不能为空")
    private LocalDateTime bizDate;

    @Schema(description = "备注", example = "你猜")
    private String remark;

    @Schema(description = "生产组织")
    private Long produceDept;

    @Schema(description = "源单单号")
    private String sourceBillNo;

    @Schema(description = "生产入库明细列表")
    private List<ErpProduceInItemsDO> produceInItemss;

}